package dao;

import java.util.List;
import model.User;

public interface UserDao {

	//增删查改列表
	public void addUser(User user);
	public void deleteUser(int id);
	public User loadUser(int uid);//根据id查询
	public User loadUser(String uname);//根据id查询
	public void update(User user);
	public List<User> list();
	public User login(String uname,String uPwd);
	public boolean isExist(String uname);

}
